<link rel="stylesheet" href="<?php echo Yii::app()->request->baseUrl; ?>/assets/css/bootstrap.css" type="text/css" media="screen" />
<link rel="stylesheet" href="<?php echo Yii::app()->request->baseUrl; ?>/assets/css/bootstrap-responsive.css" type="text/css" media="screen" />
<link rel="stylesheet" href="<?php echo Yii::app()->request->baseUrl; ?>/assets/css/bootstrap.min.css" type="text/css" media="screen" />
<? Yii::app()->clientScript->registerScriptFile(Yii::app()->request->baseUrl."/assets/js/jquery-ui.js");?>
<? Yii::app()->clientScript->registerScriptFile(Yii::app()->request->baseUrl."/assets/js/jquery.min.js");?>

<script type="text/javascript">
$(document).ready(function(){    
	$("#btn1").click(function(){ $.post("Batchsubmit", {      
		number_user: $("#number_user").val(),
		password: $("#password").val(),
		frefix: $("#frefix").val(),
		name_length: $("#name_length").val(),
		pass_length: $("#pass_length").val(),
		bytetotal: $("#bytetotal").val(),
		uptime: $("#uptime").val()
		},     
		   function(data){ $("#showajax").html(data);    
		     }  );    
      }); 
    });
</script> 



 <div id="showajax"></div> <form class="form-horizontal" role="form">
  <div class="form-group">
    <label>Number of User</label>
      <input type="text" class="form-control" id="number_user" placeholder="Number of User">
  </div>
  <div class="form-group">
    <label>Username frefix</label>
      <input type="text" class="form-control" id="frefix" placeholder="frefix">
  </div>
    <div class="form-group">
    <label>Username length</label>
      <input type="text" class="form-control" id="name_length" placeholder="Username length">
  </div>
    <div class="form-group">
    <label>Password length</label>
      <input type="text" class="form-control" id="pass_length" placeholder="Password length">
  </div>
      <div class="form-group">
    <label>Byte Total</label>
      <input type="text" class="form-control" id="bytetotal" placeholder="Byte Total">
  </div>
    <div class="form-group">
    <label>Uptime</label>
      <input type="text" class="form-control" id="uptime" placeholder="Uptime">
  </div>
  <div class="form-group">
    <div class="col-sm-offset-2 col-sm-10">
      <button type="button" id="btn1"  class="btn btn-default">Add</button>
    </div>
  </div>
</form>